package com.tlxch.server.teacher.impl;

import com.tlxch.mapper.TTeacherMapper;
import com.tlxch.pojo.TTeacher;
import com.tlxch.server.teacher.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherServiceImpl implements TeacherService {
    @Autowired
    TTeacherMapper tTeacherMapper;

    public TTeacher tlogin(TTeacher teacher) {
        return tTeacherMapper.findbyTtid(teacher.gettTid());
    }
}
